package cn.kgc.api.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.kgc.api.entity.Depts;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DeptsMapper extends BaseMapper<Depts> {

    /**
     * 跟新部门的用户信息
     * @param userName
     * @param userEmail
     * @param userId
     * @return
     */
    int  updateDeptUserInfo(
            @Param("userName") String userName,
            @Param("userEmail")String userEmail,
            @Param("userId") int userId
    );
}
